{{ if .Site.Params.comments.enable }} 
<div class="card post-footer__comment">
    {{ partial (printf "plugins/comments/%s" .Site.Params.comments.type) . }}
</div>
{{ end }}